package com.suke.czx.modules.examstack.exam.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.suke.czx.modules.examstack.exam.dao.Question2PointDao;
import com.suke.czx.modules.examstack.exam.entity.Question2PointEntity;
import com.suke.czx.modules.examstack.exam.service.Question2PointService;



@Service("question2PointService")
public class Question2PointServiceImpl implements Question2PointService {
	@Autowired
	private Question2PointDao question2PointDao;
	
	@Override
	public Question2PointEntity queryObject(Integer question2PointId){
		return question2PointDao.queryObject(question2PointId);
	}
	
	@Override
	public List<Question2PointEntity> queryList(Map<String, Object> map){
		return question2PointDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return question2PointDao.queryTotal(map);
	}
	
	@Override
	public void save(Question2PointEntity question2Point){
		question2PointDao.save(question2Point);
	}
	
	@Override
	public void update(Question2PointEntity question2Point){
		question2PointDao.update(question2Point);
	}
	
	@Override
	public void delete(Integer question2PointId){
		question2PointDao.delete(question2PointId);
	}
	
	@Override
	public void deleteBatch(Integer[] question2PointIds){
		question2PointDao.deleteBatch(question2PointIds);
	}
	
}
